﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using ST.Core;
using ST.Core.Util;

namespace ST.ModelVM.ProtocolDefine
{
    public class ProtocolQQSJVM : UInt16Model
    {
        public string Name { get; set; } = string.Empty;
        public byte Gnm { get; set; }
        public UInt16 StartAddress { get; set; }

        public UInt16 EndAddress { get; set; }
        public bool BitData { get; set; }
       


        
        public bool LoopStatus { get; set; }

        public int LoopSencond { get; set; }

  
        public UInt16 ReqNum { get; set; }


        public string DeviceCodeFml { get; set; } = string.Empty; 
        public string LoopBeginFml { get; set; } = "";
        public string LoopEndFml { get; set; } = "";
        public int LoopReqNum { get; set; } = 10;
        public int LoopDataByteNum { get; set; }
        
        public DateTime LstReqDt { get; set; } = DateTime.MinValue;
        public List<ProtocolQQSJRowVM> Data { get; set; } = new List<ProtocolQQSJRowVM>();

       
       
    }
}
